﻿@page
@model GenerateRecoveryCodesModel
@{
    ViewData["Title"] = "Generate two-factor authentication (2FA) recovery codes";
    ViewData["ActivePage"] = ManageNavPages.TwoFactorAuthentication;
}

<partial name="_StatusMessage" for="StatusMessage" />
<h4>@ViewData["Title"]</h4>
<div class="alert alert-warning" role="alert">
    <p>
        <span class="glyphicon glyphicon-warning-sign"></span>
        <strong>Put these codes in a safe place.</strong>
    </p>
    <p>
        如果你丢失了你的设备并且没有恢复码，你将失去对你账户的访问权.
    </p>
    <p>
        生成新的恢复代码不会改变authenticator应用程序中使用的密钥。如果你想换钥匙的话
        应该在authenticator应用程序中使用 <a asp-page="./ResetAuthenticator">重置验证器密钥.</a>
    </p>
</div>
<div>
    <form method="post" class="form-group">
        <button class="btn btn-danger" type="submit">生成恢复代码</button>
    </form>
</div>